-- GENERATED SPELL FOR [Daggerspine Raider] --


function spell0_2595(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(6533,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2595', 2324, 1)
end

function Sorts_2595(pUnit, Event)
local choix_sorts_2595 = math.random(0, 0)
if choix_sorts_2595 == 0 then
pUnit:RegisterEvent('spell0_2595', 1, 1)
end
end

function mob2595_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2595', math.random(1500, 3000), 1)
end

function mob2595_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2595_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2595_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2595, 1, 'mob2595_Action')
RegisterUnitEvent(2595, 2, 'mob2595_Leave')
RegisterUnitEvent(2595, 3, 'mob2595_Kill')
RegisterUnitEvent(2595, 4, 'mob2595_Die')
